<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Document</title>
  </head>
  <body>
    <div style="width: 500px; margin: 50px auto">
      <h3>原型对象_proto_ ========== 对象原型prototype：</h3>
      <div>
        <button class="btn1">得到原型对象_proto_</button>：<span
          class="cont1"
        ></span>
      </div>
      <div>
        <button class="btn2">得到对象原型prototype</button>：<span
          class="cont2"
        ></span>
      </div>
    </div>
    <script>
      // document.querySelector()

      function Person(name, age) {
        this.name = name;
        this.age = age;
      }
      var p1 = new Person('lusy',22);
      console.log(p1);
      console.log(Person.prototype);
    </script>
  </body>
</html>
